class CreateBusinessProcesses < ActiveRecord::Migration
  def self.up
    create_table :business_processes do |t|
      t.integer :business_process_class_id
      t.string :short_name
      t.string :alternate_short_name
      t.string :full_name
      t.boolean :type
      t.text :entity
      t.string :diagram_whole
      t.string :diagram_decomposed
      t.text :area
      t.integer :status

      t.timestamps
    end
  end

  def self.down
    drop_table :business_processes
  end
end
